package com.site.blog.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author : Connor-G 康纳-郭
 * @date : 00:30 20.12.20
 * @Company : http://www.zzrgsoft.org
 * @Version : 1.0
 */

/**
 * 备份数据库配置信息
 */
@Component
@Data
public class DbBackUpInfoConf {

    @Value("${dbbackup.filepath}")
    private String filePath;
    @Value("${dbbackup.dbname}")
    private String dbName;
    @Value("${dbbackup.username}")
    private String username;
    @Value("${dbbackup.password}")
    private String password;
    @Value("${dbbackup.script}")
    private String script;
    @Value("${dbbackup.host}")
    private String host;
}
